gl: Install the debug message callback for gl-debug
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Oct 2020 18:08:55 +0000 (14:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 Oct 2020 18:43:31 +0000 (14:43 -0400)
commit7311464c67ea1d67c1e64f867ffe8d4fc401629a
tree22c2ad669ce7e11b48da88651fd3bcf6bd1780cb
parentaaab461c2701b6c1e373a3302e902edb9a88371d
gl: Install the debug message callback for gl-debug

Always install the debug message callback when we can
and GDK_DEBUG=gl-debug is specified. Previously, we
were only installing the callback when the build was
a non-optimized debug build.
gdk/gdkglcontext.c